import { Opt } from '__com/Opt.js'
export class editOpt extends Opt {
  constructor(fun) {
    super(fun)
  }

  create() {
    return [
      {
        title: '角色名称',
        key: 'roleName',
        text: {}
      },
      {
        title: '端口权限',
        key: 'terminalTypeName',
        text: {}
      },
      {
        title: '角色类型',
        key: 'roleTypeName',
        text: {}
      },
      {
        title: '备注',
        key: 'roleDesc',
        placeholder: '请填写“角色”备注信息',
        input: {
          showWordLimit: true,
          maxlength: 300,
          autosize: {
            minRows: 4,
            maxRows: 6
          },
          type: 'textarea'
        }
      }
    ]
  }
}
